
<div class="tablas-info">
    <div class="tabla-titulo">
        <h2>Productos en la <strong>Salida</strong></h2>
        <%= link_to "Ver Salida", @salida_almacen , :class => "btn btn-info btn-xs" unless current_page?(:action => 'show') %>
    </div>

    <div id="tabla-data" class="in">
        <div class="table-responsive">
            <table id="tabla_productos" class="table table-striped table-hover table-datos">
                <thead>
                    <tr>
                      <th>Partida</th>
                      <th>Rt Afectado</th>
                      <th>No Parte</th>
                      <th>Descripcion</th>
                      <th>Cantidad</th>
                      <th>Peso</th>
                      <th>Pedimento</th>
                    </tr>
                </thead>

                <tbody>
                  <% unless @items_salida.empty? %>
                    <% @items_salida.each do |item_salida| %>
                      <% unless item_salida.new_record? %>
                        <tr id='item-salida-<%= item_salida.id %>'>
                          <td><%= item_salida.id %></td>
                          <td><%= item_salida.rt_detalle.receiving_ticket_id %></td>
                          <td><%= item_salida.no_parte %></td>
                          <td><%= item_salida.descripcion %></td>
                          <td><%= item_salida.cantidad %></td>
                          <td><%= item_salida.peso %></td>
                          <td><%= item_salida.pedimento %></td>
                          <!--% unless current_page?(:action => 'show') %>
                          <td>                               
                              <!--%= link_to eliminar_detalle_rt_salida_path(item_salida), :method => :delete,:remote =>true, data: { confirm: 'Seguro que desea eliminar el elemento?' }, :rel => "nofollow", "data-placement" => "top", "data-original-title" => "Eliminar", class: "btn btn-danger btn-xs" do %>
                                    <i class="fa fa-trash-o"></i>
                              <!--% end %></td>
                          <!--% end %-->
                        </tr>
                       <% end %>
                    <% end %>
                  <% end %>
                </tbody>
            </table>
          
        </div>
    </div>
</div>